/* eslint-disable object-curly-newline */
/* eslint-disable react/jsx-wrap-multilines */
import React from "react";
import { List, Tag } from "antd";

const data = [
  "/zt/ZtBugStatics",
  "/zt/listAllZtTask/(pageNum)",
  "/zt/listMonthZtTask",
  "/zt/listWeekZtTask",
  "/zt/listZtBugA",
];
function App() {
  return (
    <List
      size="large"
      bordered={false}
      header={
        <div
          style={{ fontWeight: "700", fontSize: "16px", marginLeft: "25px" }}
        >
          接口
        </div>
      }
      dataSource={data}
      renderItem={(item) => (
        <List.Item>
          <Tag color="#108ee9">GET</Tag>
          {item}
        </List.Item>
      )}
    />
  );
}
export default App;
